package com.btex.app.entity;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/6/1
 * @time 下午3:51
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class VersionInfo {

    /**
     * code : 1
     * data : {"android":{"version":"1.8","new_pakage":"http://www.toubi.com/download/toubi-1-8.apk"},"ios":{"version":"1.1","version1":"1.1"}}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * android : {"version":"1.8","new_pakage":"http://www.toubi.com/download/toubi-1-8.apk"}
         * ios : {"version":"1.1","version1":"1.1"}
         */

        private AndroidBean android;
        private IosBean ios;

        public AndroidBean getAndroid() {
            return android;
        }

        public void setAndroid(AndroidBean android) {
            this.android = android;
        }

        public IosBean getIos() {
            return ios;
        }

        public void setIos(IosBean ios) {
            this.ios = ios;
        }

        public static class AndroidBean {
            /**
             * version : 1.8
             * new_pakage : http://www.toubi.com/download/toubi-1-8.apk
             */

            private String version;
            private String new_pakage;

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getNew_pakage() {
                return new_pakage;
            }

            public void setNew_pakage(String new_pakage) {
                this.new_pakage = new_pakage;
            }
        }

        public static class IosBean {
            /**
             * version : 1.1
             * version1 : 1.1
             */

            private String version;
            private String version1;

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getVersion1() {
                return version1;
            }

            public void setVersion1(String version1) {
                this.version1 = version1;
            }
        }
    }
}
